﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DepartmentInformationUserControl.ascx.cs" Inherits="JM.JCY.SharePointComponent.Department.DepartmentInformation.DepartmentInformationUserControl" %>

<script type="text/javascript">
    $(document).ready(function () {


        $("#td_Incorrupt1").click(function () {
            $("#DivIncorrupt1").slideToggle("slow", function callback() {
                if ($("#DivIncorrupt1").is(":visible")) {
                    $("#imgIncorrupt1").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgIncorrupt1").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_Incorrupt2").click(function () {
            $("#DivIncorrupt2").slideToggle("slow", function callback() {
                if ($("#DivIncorrupt2").is(":visible")) {
                    $("#imgIncorrupt2").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgIncorrupt2").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_PropertyInformation").click(function () {
            $("#DivPropertyInformation").slideToggle("slow", function callback() {
                if ($("#DivPropertyInformation").is(":visible")) {
                    $("#imgBtnPropertyInformation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgBtnPropertyInformation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_DeptRisk").click(function () {
            $("#DivDeptRisk").slideToggle("slow", function callback() {
                if ($("#DivDeptRisk").is(":visible")) {
                    $("#imgDeptRisk").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgDeptRisk").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_DeptPrevention").click(function () {
            $("#DivDeptPrevention").slideToggle("slow", function callback() {
                if ($("#DivDeptPrevention").is(":visible")) {
                    $("#imgDeptPrevention").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgDeptPrevention").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_DeptDocument").click(function () {
            $("#DivDeptDocument").slideToggle("slow", function callback() {
                if ($("#DivDeptDocument").is(":visible")) {
                    $("#imgDeptDocument").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgDeptDocument").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

    });

</script>

<div>

    <table class="main">
        <tr>
         
             <td valign="top"  runat="server" id="tdContent">
           
             <table class="webpart" width="100%" cellpadding="0" cellspacing="0">
                          <tr>
                        <th align="left" id="tdToggleStaffInfo1" class="title" width="50%" style="cursor: pointer">
                            <asp:Label id="lblDeptNameDoc" runat="server"></asp:Label>
                        </th>
                        <th id="tdToggleStaffInfo2" class="link" align="right" width="50%" style="cursor: pointer">
                          <img runat="server" id="imgEdit" src="/_layouts/JM.JCY.Resource/images/EDIT.gif"
                             width="15" /><a class="ms-addnew" id="idHomePageEditItem" href="#" target="_self"
                                 runat="server"> 编辑部门信息</a>
                        </th>
                    </tr>
                    <tr><td colspan=2><br /></td></tr>
                
                          <tr>  
                     <td align="right" colspan="2">
                        
                     </td>
                 </tr>
                 
                       
                          <tr>
                       <td colspan=2>
                           <table width="100%">
                               <tr>
                                   <td>
                                       <table width="100%" class="galleryHeader">
                                           <tr>
                                               <td id="td_Incorrupt1" width="100%" style="cursor: pointer">
                                                   <img id="imgIncorrupt1" src="/_Layouts/JM.JCY.Resource/images/toggle_collapse.png"
                                                       alt="" />部门描述
                                               </td>
                                           </tr>
                                       </table>
                                   </td>
                               </tr>
                               <tr>
                                   <td>
                                       <div id="DivIncorrupt1">
                                   
                                           <table width="95%" class="form">
                                               <tr>
                                                   <td>
                                                       <table width="90%">
                                                    
                                                           <tr>
                                                               <td>
                                                                   <asp:Label ID="lbDeptDesc" runat="server"></asp:Label>
                                                               </td>
                                                           </tr>
                                                       </table>
                                                   </td>
                                               </tr>
                                           </table>
                                       </div>
                                   </td>
                               </tr>
                            
                           </table>
                       </td>
                    </tr>
                          <tr>
                     <td colspan="2">
                         <table width="100%">
                             <tr>
                                 <td>
                                     <table width="100%" class="galleryHeader">
                                         <tr>
                                             <td id="td_Incorrupt2" width="100%" style="cursor: pointer">
                                                 <img id="imgIncorrupt2" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                     alt="" />&nbsp;部门文化
                                             </td>
                                         </tr>
                                     </table>
                                 </td>
                             </tr>
                             <tr>
                                 <td>
                                     <div id="DivIncorrupt2" style="display: none">
                                         <table width="95%" class="form">
                                             <tr>
                                                 <td>
                                                     <table width="90%">
                                                         <tr>
                                                             <td>
                                                                 <asp:Label ID="lbDeptCulture" runat="server"></asp:Label>
                                                             </td>
                                                         </tr>
                                                     </table>
                                                 </td>
                                             </tr>
                                         </table>
                                     </div>
                                 </td>
                             </tr>
                         </table>
                     </td>
                </tr>
                          <tr>
                       <td colspan=2>
                           <table width="100%">
                               <tr>
                                   <td>
                                       <table width="100%" class="galleryHeader">
                                           <tr>
                                               <td id="td_PropertyInformation" width="100%" style="cursor: pointer">
                                                   <img id="imgBtnPropertyInformation" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                       alt="" />&nbsp;部门职责
                                               </td>
                                           </tr>
                                       </table>
                                   </td>
                               </tr>
                               <tr>
                                   <td>
                                       <div id="DivPropertyInformation" style="display: none">
                                         <table width="95%" class="form">
                                               <tr>
                                                   <td>
                                                       <table width="90%">
                                                          <tr>
                                                               <td>
                                                                     <asp:Label ID="lbDeptResposibility" runat="server"></asp:Label>
                                                               </td>
                                                           </tr>
                                                       </table>
                                                   </td>
                                               </tr>
                                           </table>
                                       </div>
                                   </td>
                               </tr>
                            
                           </table>
                       </td>
                    </tr>

                                 <tr>
                       <td colspan=2>
                           <table width="100%">
                               <tr>
                                   <td>
                                       <table width="100%" class="galleryHeader">
                                           <tr>
                                               <td id="td_DeptRisk" width="100%" style="cursor: pointer">
                                                   <img id="imgDeptRisk" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                       alt="" />&nbsp;主要廉政风险点
                                               </td>
                                           </tr>
                                       </table>
                                   </td>
                               </tr>
                               <tr>
                                   <td>
                                       <div id="DivDeptRisk" style="display: none">
                                         <table width="95%" class="form">
                                               <tr>
                                                   <td>
                                                       <table width="90%">
                                                          <tr>
                                                               <td>
                                                                     <asp:Label ID="lbDeptRisk" runat="server"></asp:Label>
                                                               </td>
                                                           </tr>
                                                       </table>
                                                   </td>
                                               </tr>
                                           </table>
                                       </div>
                                   </td>
                               </tr>
                            
                           </table>
                       </td>
                    </tr>

                                 <tr>
                       <td colspan=2>
                           <table width="100%">
                               <tr>
                                   <td>
                                       <table width="100%" class="galleryHeader">
                                           <tr>
                                               <td id="td_DeptPrevention" width="100%" style="cursor: pointer">
                                                   <img id="imgDeptPrevention" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                       alt="" />&nbsp;对应防控措施
                                               </td>
                                           </tr>
                                       </table>
                                   </td>
                               </tr>
                               <tr>
                                   <td>
                                       <div id="DivDeptPrevention" style="display: none">
                                         <table width="95%" class="form">
                                               <tr>
                                                   <td>
                                                       <table width="90%">
                                                          <tr>
                                                               <td>
                                                                     <asp:Label ID="lbDeptPrevention" runat="server"></asp:Label>
                                                               </td>
                                                           </tr>
                                                       </table>
                                                   </td>
                                               </tr>
                                           </table>
                                       </div>
                                   </td>
                               </tr>
                            
                           </table>
                       </td>
                    </tr>
                </table>
             </td>
        </tr>

    </table> 
    
</div> 
